<template>
	<view class="points  pb-10 m-h100">
		<view class="bgcolor1 flex font-48 justify-center py-3 font-weight-bold border-bottom">
			<p>我的积分：</p>
			<p class="ftcolor2">10000</p>
		</view>

		<view class="my-3 px-3">
			<p class="font-38 font-weight-bold">积分流水</p>
			<view class="flex flex-column justify-between mt-1 bgcolor1 p-2 rounded" v-for="item in 4"
				@click="goDetails(item)">
				<view class="flex justify-between w-100 font-30">
					<p>兑换商品</p>
					<p class=" font-weight-bold">-1000</p>
				</view>
				<p class="pt-2 ftcolor8">兑换时间：2024-12-08 18:30:00</p>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabActive: 2,
			}
		},
		methods: {
			// 切换底部tab
			changeTab(e) {
				if (e == 0) {
					uni.navigateTo({
						url: '../index/index'
					})
				} else if (e == 1) {
					uni.navigateTo({
						url: '../order/order'
					})
				} else if (e == 3) {
					uni.navigateTo({
						url: '../my/my'
					})
				}
			},
		}
	}
</script>

<style lang="scss">
	.points {}
</style>